import axios from '@/utils/request'

export const referralList  = function(data) {
  return axios({
    url: '/saas/supplier-referral-list',
    method: 'GET',
    params: data,
  })
}

export const editSupplierReferral  = function(data) {
  return axios({
    url: '/saas/edit-supplier-referral',
    method: 'POST',
    data: data,
  })
}
export const supplierDefaultParams  = function(data) {
  return axios({
    url: '/saas/saas-supplier-referral-default-params',
    method: 'GET',
    params: data,
  })
}
export const supplierShareLog  = function(data) {
  return axios({
    url: '/saas/supplier-referral-share-log',
    method: 'GET',
    params: data,
  })
}
